#夫类
class phone:
    IMEI=None
    producer=None
    def call_by_4g(self):
        print("4g通话")
#子类
class phone2022(phone):
    face_id = None
    def call_by_5g(self):
        print("5g通话")

my_phone = phone2022()
my_phone.IMEI = "2341234"
my_phone.producer = "32432"
my_phone.face_id = "2342134"
my_phone.call_by_5g()
